<%--
  Created by IntelliJ IDEA.
  User: 凡人
  Date: 2021/11/22
  Time: 9:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <!--视口 自适应-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>title</title>
    <link href="${pageContext.request.contextPath}/static/css/bootstrap.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/static/js/jquery-3.2.1.js" rel="script"></script>
    <script src="${pageContext.request.contextPath}/static/js/bootstrap.js" rel="script"></script>
    <script src="${pageContext.request.contextPath}/static/My97DatePicker/WdatePicker.js" rel="script"></script>

</head>
<body>
<div class="row">
    <div class="col-2">
        <div class="list-group" id="list-tab" role="tablist">
            <a class="list-group-item list-group-item-action active" onclick="skip('list')" id="list-home-list" data-toggle="list" href="#list-home" role="tab" aria-controls="home">订单查询</a>
            <a class="list-group-item list-group-item-action" onclick="skip('toAdd')" id="list-profile-list" data-toggle="list" href="#list-profile" role="tab" aria-controls="profile">添加订单</a>
            <a class="list-group-item list-group-item-action" id="list-messages-list" data-toggle="list" href="#list-messages" role="tab" aria-controls="messages">Messages</a>
            <a class="list-group-item list-group-item-action" id="list-settings-list" data-toggle="list" href="#list-settings" role="tab" aria-controls="settings">Settings</a>
        </div>
    </div>
    <div class="col-10">
        <div class="tab-content" id="nav-tabContent">

        </div>
    </div>
</div>
</body>
<script>
    $(function(){
        skip('list');
    })
    function skip(url){
        $("#nav-tabContent").load(url);
    }
</script>
</html>
